package com.grts.service;

import java.util.List;

import com.grts.pojo.MajorBean;
import com.grts.pojo.t_student;


public interface IStudentService {
	int deleteByPrimaryKey(Integer stuid);

    int insert(t_student record);

    int insertSelective(t_student record);

    t_student selectByPrimaryKey(Integer stuid);

    int updateByPrimaryKeySelective(t_student record);

    int updateByPrimaryKey(t_student record);
	List<t_student> queryALL();
	
	//查询专业
	List<MajorBean> queryByMId(Integer mid);
	
	List<MajorBean> queryByID(Integer mid);
	
	String queryNameByID(Integer mid);
}
